package com.eazy.lkv2.web.controller.system.count;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.eazy.lkv2.web.controller.BaseController;
import com.eazy.lkv2.web.service.system.count.BaiduService;

/**
 * baidu 日志 
 */
@Controller
@RequestMapping("baidulog")
public class CountBaiduLogController extends BaseController {

	@Autowired
	private BaiduService baiduService;

	@RequestMapping(value = "list", method = RequestMethod.GET)
	public ModelAndView index() {
		List<Map<String,Object>> baidulog = baiduService.baiduLog();
		addObject("data", baidulog);
		return getSuccess("sys/baidulog");
	}
}
